| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVREnableHotSpot function to enable or disable one or more hot spots.
OSErr QTVREnableHotSpot (
QTVRInstance qtvr,
UInt32enableFlag,
UInt32hotSpotValue,
Booleanenable);
The QTVREnableHotSpot function either enables or disables the hot spot or spots specified by the enableFlag and hotSpotValue parameters, according to the value of the enable parameter. The hot spots are always selected from among the hot spots in the current node of the QuickTime VR movie specified by the qtvr parameter.
Normally, all hot spots in a node are enabled (that is, the cursor automatically changes shape when it is moved over a hot spot, and the QTVRTriggerHotSpot function is called internally when the user clicks a hot spot). When a hot spot is disabled, QuickTime VR behaves as if the hot spot were not present.
| Previous | Chapter contents | Chapter top | Section top | Next |